package DesignPattern.EnumMethod;

/**
 * @author : LdLtd
 * @Date : 2023/12/11
 * @Description:
 */
public class Main {
    public static void main(String[] args) {
        System.out.println(Operator.ADD.apply(1, 2));
        System.out.println(Operator.Div.apply(1, 0));
    }
}
